﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_NOTE_MSG.cs
// 项目名称：Lovol 
// 创建时间：2011/10/13
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;

namespace CRM.Entity
{
	/// <summary>
	///T_NOTE_MSG数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_NOTE_MSG", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_NOTE_MSG", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_NOTE_MSG_Entity
	{
		#region 变量定义		
		///<summary>
		///自增编号
		///</summary>
		private long _aUTOID;
		///<summary>
		///消息主题
		///</summary>
		private string _sUBJECT = String.Empty;
		///<summary>
		///消息内容
		///</summary>
		private string _cONTENT = String.Empty;
		///<summary>
		///消息状态
		///</summary>
		private long _sTATUS = 0;
		///<summary>
		///收信人工号
		///</summary>
		private string _rECVID = String.Empty;
		///<summary>
		///发信人工号
		///</summary>
		private string _sENDID = String.Empty;
		///<summary>
		///收信人姓名
		///</summary>
		private string _rECVNAME = String.Empty;
		///<summary>
		///发信人姓名
		///</summary>
		private string _sENDNAME = String.Empty;
		///<summary>
		///消息创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///文件名
		///</summary>
		private string _fILES = String.Empty;
		///<summary>
		///文件路径
		///</summary>
		private string _fILEPATH = String.Empty;
		///<summary>
		///发信人事业部编号
		///</summary>
		private long? _sEND_BUSINESSDIVISIONID = 0;
		///<summary>
		///发信人事业部名称
		///</summary>
		private string _sEND_BUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///发信人事业部代码
		///</summary>
		private string _sEND_BUSINESSDIVISIONCODE = String.Empty;
		///<summary>
		///收信人事业部编号
		///</summary>
		private long? _rECV_BUSINESSDIVISIONID = 0;
		///<summary>
		///收信人事业部名称
		///</summary>
		private string _rECV_BUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///收信人事业部代码
		///</summary>
		private string _rECV_BUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_NOTE_MSG_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_NOTE_MSG")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///消息主题
		///</summary>		
		public string SUBJECT
		{
			get {return _sUBJECT;}
			set {
					_sUBJECT = value;
				}
			
		}

		///<summary>
		///消息内容
		///</summary>		
		public string CONTENT
		{
			get {return _cONTENT;}
			set {
					_cONTENT = value;
				}
			
		}

		///<summary>
		///消息状态
		///</summary>		
		public long STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///收信人工号
		///</summary>		
		public string RECVID
		{
			get {return _rECVID;}
			set {
					_rECVID = value;
				}
			
		}

		///<summary>
		///发信人工号
		///</summary>		
		public string SENDID
		{
			get {return _sENDID;}
			set {
					_sENDID = value;
				}
			
		}

		///<summary>
		///收信人姓名
		///</summary>		
		public string RECVNAME
		{
			get {return _rECVNAME;}
			set {
					_rECVNAME = value;
				}
			
		}

		///<summary>
		///发信人姓名
		///</summary>		
		public string SENDNAME
		{
			get {return _sENDNAME;}
			set {
					_sENDNAME = value;
				}
			
		}

		///<summary>
		///消息创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///文件名
		///</summary>		
		public string FILES
		{
			get {return _fILES;}
			set {
					_fILES = value;
				}
			
		}

		///<summary>
		///文件路径
		///</summary>		
		public string FILEPATH
		{
			get {return _fILEPATH;}
			set {
					_fILEPATH = value;
				}
			
		}

		///<summary>
		///发信人事业部编号
		///</summary>		
		public long? SEND_BUSINESSDIVISIONID
		{
			get {return _sEND_BUSINESSDIVISIONID;}
			set { _sEND_BUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///发信人事业部名称
		///</summary>		
		public string SEND_BUSINESSDIVISIONNAME
		{
			get {return _sEND_BUSINESSDIVISIONNAME;}
			set {
					_sEND_BUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///发信人事业部代码
		///</summary>		
		public string SEND_BUSINESSDIVISIONCODE
		{
			get {return _sEND_BUSINESSDIVISIONCODE;}
			set {
					_sEND_BUSINESSDIVISIONCODE = value;
				}
			
		}

		///<summary>
		///收信人事业部编号
		///</summary>		
		public long? RECV_BUSINESSDIVISIONID
		{
			get {return _rECV_BUSINESSDIVISIONID;}
			set { _rECV_BUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///收信人事业部名称
		///</summary>		
		public string RECV_BUSINESSDIVISIONNAME
		{
			get {return _rECV_BUSINESSDIVISIONNAME;}
			set {
					_rECV_BUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///收信人事业部代码
		///</summary>		
		public string RECV_BUSINESSDIVISIONCODE
		{
			get {return _rECV_BUSINESSDIVISIONCODE;}
			set {
					_rECV_BUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
